package cn.zqh.user.client;


import cn.zqh.bean.api.CommonResult;
import cn.zqh.user.config.DefaultFeignConfiguration;
import cn.zqh.user.interceptor.FeignInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "bs-router",configuration = { DefaultFeignConfiguration.class, FeignInterceptor.class})
public interface RouterClient {


    /**
      * @Author: zqh
      * @Date:
      * @Description: 验证码的校验
    */
    @PostMapping("/router/checkQQCode")
    public CommonResult checkQQCode(@RequestParam String email,@RequestParam String qQCode);
}
